<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>{$title}</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="{$description}">
        <meta name="author" content="{$author}">

        <!-- Le styles -->
        <link href="../Public/css/bootstrap.min.css" rel="stylesheet">
        <link href="../Public/css/bootstrap-responsive.css" rel="stylesheet">
        <link href="../Public/css/style.css" rel="stylesheet">
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->

    </head>

    <body data-spy="scroll" data-target=".subnav" data-offset="50">

        <div class="container">
            <div class="row">
                <div class="span12 top">
                    <div class="span4 offset8"> <a href="/quwanma.apk">安卓版</a> | <a href="/profile/login">登录</a> | <a href="/profile/register">免费注册</a> | <a href="/help">帮助</a></div>
                </div>
            </div>

            <div id="header">

                <section id="logo">   
                    <div class="page-header">

                        <div class="row">
                            <div class="span12">
                                <h1>去玩吗？</h1>
                            </div>
                        </div>
                    </div>
                </section>

            </div>

            <section id="forms">
                <div class="row ">
                    <div class="span12">
                        <div class="navbar">
    <div class="navbar-inner">
      <div class="container">
        <a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>
        <a href="#" class="brand">帮助中心</a>
        <div class="nav-collapse">
          <ul class="nav">
            <li class="active"><a href="#">网站信息</a></li>
            <li><a href="#">开发帮助</a></li>
            <li><a href="#">Link</a></li>
            <li><a href="#">Link</a></li>
            <li class="dropdown">
              <a data-toggle="dropdown" class="dropdown-toggle" href="#">Dropdown <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="#">Action</a></li>
                <li><a href="#">Another action</a></li>
                <li><a href="#">Something else here</a></li>
                <li class="divider"></li>
                <li class="nav-header">Nav header</li>
                <li><a href="#">Separated link</a></li>
                <li><a href="#">One more separated link</a></li>
              </ul>
            </li>
          </ul>
          <form action="" class="navbar-search pull-left">
            <input type="text" placeholder="Search" class="search-query span2">
          </form>
          <ul class="nav pull-right">
            <li><a href="#">Link</a></li>
            <li class="divider-vertical"></li>
            <li class="dropdown">
              <a data-toggle="dropdown" class="dropdown-toggle" href="#">Dropdown <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="#">Action</a></li>
                <li><a href="#">Another action</a></li>
                <li><a href="#">Something else here</a></li>
                <li class="divider"></li>
                <li><a href="#">Separated link</a></li>
              </ul>
            </li>
          </ul>
        </div><!-- /.nav-collapse -->
      </div>
    </div><!-- /navbar-inner -->
  </div>
                        <volist name="regions" id="region">
                            <a href="{:U("categroy/$pinyin/$region[pinyin]")}">{$region.name}&nbsp;&nbsp;&nbsp;</a>
                        </volist>
                    </div>
                </div>

                <div class="row">
                    <div class="span8">

                        <h3>{$title}</h3>
                        开始时间 :{$starttime|date="Y-m-d",###} <br />
                        结束时间 :{$endtime|date="Y-m-d",###}<br />
                        地点:{$region.name}{$address}<br />
                        内容{$content}<br />
                        <notempty name="ipAddress">发布者ip所在地:{$ipAddress}</notempty><br />
                        <notempty name="name">手机{$phone}</notempty><br />
                        <notempty name="phoneAdress"> 手机所在地:{$phoneAdress}</notempty><br />
                        <notempty name="qq">QQ:{$qq}</notempty><br />
                        <hr />
                        <div>
                            <ul>

                                <volist name="par" id="par">
                                    <li>{$par}</li>
                                </volist>
                                <if condition="$attachment neq ''"><a href="__ROOT__/Attachments/Activity/{$attachment}" target="_blank" id="viewimg" title="按ESC键退出"><img src="{$attachment|getProImg = ###}" width="360"  /></a>
                                    <else />
                                </if>

                            </ul>
                            <div class="clear"></div>
                        </div>

                    </div>
                    <div class="span4">

                                                <div style="padding: 8px 0;" class="well">
                            <ul class="nav nav-list">
                                <li class="active"><a>帮助中心</a></li>
                                {:W('Articles')}
                            </ul>
                        </div>

                    </div>


                </div>

            </section>

            <!-- Footer
             ================================================== -->
            <footer class="footer">
                <p class="pull-right"><a href="#">返回顶部</a></p>
                <p>©2011-2012 去玩吗？<a href="http://weibo.com/33kuai" target="_blank">去玩吗新浪微博</a> | 关于去玩吗 | 开放API | 意见反馈 | 联系我</p>
            </footer>

        </div><!-- /container -->
        <script type="text/javascript" src="http://api.map.baidu.com/api?v=1.1&services=true">
        </script>

    <if condition="$attachment neq ''">
        <script type="text/javascript" src="/min/index.php?f=Public/Js/fancybox/jquery.mousewheel-3.0.4.pack.js,Public/Js/fancybox/jquery.fancybox-1.3.4.pack.js,Public/Js/jquery.lazyload.mini.js"></script>
        <link type="text/css" rel="stylesheet" href="/min/index.php?f=Public/Js/fancybox/jquery.fancybox-1.3.4.css"/>

        <script type="text/javascript">
            $(document).ready(function() {
                $("img").lazyload({
                    placeholder : "images/grey.gif",
                    effect      : "fadeIn"
                });
                $("a#viewimg").fancybox({
                    'titleShow'	: false
                });
            });
        </script>
    </if>
    <script type="text/javascript">
        var map = new BMap.Map("map");
        map.centerAndZoom(new BMap.Point(116.404, 39.915), 13);
        var local = new BMap.LocalSearch(map, {
            renderOptions:{map: map}
        });
        local.search("{$region.name}");

    </script>
    <script type="text/javascript">

        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-1601744-3']);
        _gaq.push(['_trackPageview']);

        (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();

    </script>
</body>
</html>
